package com.hxx.mapper;
import com.hxx.domain.TUser;

import java.util.List;

public interface UserMapper {
    int insert(TUser user);
    void update(TUser user);
    void delete(Integer id);
    TUser selectById(Integer id);
    List<TUser> selectAll();
    boolean login(String username, String password);
    List<TUser> findByPage(int pageNo, int pageSize);
    int getTotalCount();
}
